package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_template;
import cn.com.api.service.base.U_templateServiceBase;

/**
 * 
 */
@Service
public interface ApiU_templateService extends U_templateServiceBase {

	// 新增对象后返回记录ID
	public int U_templateInsertion(ApiU_template u_template);

	public int insertU_template_info(ApiU_template u_template);

	public ApiU_template findU_templateByTemplateId(Integer valueOf);

	public int updateU_template_info(ApiU_template u_template);

	public List<Map<String, Object>> findU_templates_type(String type);

	public List<ApiU_template> findTemplatesByType(@Param("type") String type);

	public int deleteU_template_info(Integer valueOf);
}
